package com.syj.collect.entry;

import androidx.work.Data;

import com.syj.collect.base.BaseBean;

import java.io.Serializable;

public class UserInfoBean extends BaseBean implements Serializable {

    /**
     * userInfo : {"name":"王清新","mobile":"13308071107","userId":19,"email":"wangqx@qq.com","username":"wangqx"}
     * expire : 604800
     * token : 3c21cb74e85c38a4eb7b16bf0c214f40
     */

    private UserInfo userInfo;
    private int expire;
    private String token;

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public int getExpire() {
        return expire;
    }

    public void setExpire(int expire) {
        this.expire = expire;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static class UserInfo{
        /**
         * name : 王清新
         * mobile : 13308071107
         * userId : 19
         * email : wangqx@qq.com
         * username : wangqx
         */

        private String name;
        private String mobile;
        private int userId;
        private String email;
        private String username;
        private String iconUrl;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getIconUrl() {
            return iconUrl;
        }

        public void setIconUrl(String iconUrl) {
            this.iconUrl = iconUrl;
        }
    }
}
